#include"lottery_sys.h"
void selfchose(L_buyed_t* new_buy)
{
	if(!new_buy)
	{
		printf("error\n");
		return;
	}
	int i = 0;
	int num= 0;
	printf("请输入1-5之间的数8个\n");
	while(i++<5)
	{
		scanf("%d", &num);
		if(num  > 5 || num < 1)
		{
			printf("对不起，你输入号码错误！请重新输入：");
			continue;
		}
		new_buy -> chose_nums[i] = num;
		printf("%d\n", new_buy -> chose_nums[i]);
	}
}
